<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<title>注册</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link rel="stylesheet" href="<c:url value="/css/index.css"/>"
	type="text/css" media="all">
</head>
<body>

	<h1>个人中心</h1>
	<div class="container">
		<div class="clear"></div>
		<div class="personnal_message" style="color: white">
			<form action="<c:url value="modifyCustomerr"/>" style="clear: both;">
				姓名：<input type="text" name="name" value="${user.name}" required="required" style="display: inline;"><br>
				密码：<input type="text"  name="password" value="******" required="required"><br>
				手机号：<input type="text" name="phone" value="${user.phone}" required="required"><br>
				身份证号：<input type="text" name="idcard" value="${user.idcard}" required="required"><br>
				<div style="color: red;">
				${msg}
				</div><br>
				<div class="send-button" style="margin: 0 auto;color: white;">
				<input class="button" type="submit" name="submit" value="修改个人信息">
				</div>
			</form>
				<div class="send-button" style="margin: 0 auto;color: white;">
					<a href='<c:url value="selectOrderr"/>'>查询所有订单</a>
				</div>
			
		</div>
		<div style="display: inline;">
			<div style="float: left;">
				<a class="button" style="color: white;" href='<c:url value="bookRoom"/>'>返回</a>
			</div>
			<div style="float: right;">
				<a class="button" style="color: white;" href='<c:url value="deleteCustomerr" />'>注销账号</a>
			</div>		
		</div>

		


		<div class="clear"></div>
	</div>
</body>
</html>